
    <form class="checkoutform" action="{:U('insert')}" method="post">
    

        <div class="form-group">
      <label class="control-label">节点名称</label>
      <div>
         <input class="form-control" name="name"  type="text" id="name" value="{$info.name}" size="50" />
      </div>
   </div>
        <div class="form-group">
      <label class="control-label">标题</label>
      <div>
         <input class="form-control" name="title"  type="text" id="title" value="{$info.title}" size="50" />
      </div>
   </div>
        
 <div class="form-group">
      <label class="control-label">状态</label>
      <div>
          <label class="checkbox-inline"> <input name="status" type="radio" id="radio" value="1" checked>启用</label>
           
            <label class="checkbox-inline"> <input type="radio" name="status" id="radio2" value="0" <eq name="info['status']" value="0">checked</eq>>禁用</label>
            
            </div>
            </div>

        
       
       <div class="form-group">
      <label class="control-label">菜单分组</label>
      <div>
         <select class="form-control" name="gid" id="gid">
           <option value="0">请选择</option>
          <volist name="s_gid" id="vo">
          <option <eq name="vo['id']" value="$info['gid']">selected="selected"</eq> value="{$vo.id}">{$vo.name}</option>
            </volist>
          </select>
          </div>
          </div>
         
        
        
       <div class="form-group">
                    <label class="control-label">父级节点</label>
                    <div>
                        <select class="form-control" name="pid" id="pid">
                            <option value="0">最高级</option>
                            <volist name="s_pid" id="vo">
                                <option value="{$vo.id}" 
                                <if condition="$pid==$vo['id']">selected="selected"</if>
                                >{:getdeepstr($vo['cl'])}{$vo.title}
                                </option>
                            </volist>
                        </select>
                    </div>
                </div>
        
          
      <div class="form-group">
      <label class="control-label">级别</label>
      <div>
         <select class="form-control" name="level" >
               <option <eq name="level" value="1">selected="selected"</eq> value="1">应用</option>
              <option <eq name="level" value="2">selected="selected"</eq> value="2">模块</option>
              <option <eq name="level" value="3">selected="selected"</eq> value="3">操作</option>
            </select>
            </div>
            </div>
        
        

    </form>

